﻿#ifndef __RPC_FORWARDER_HEAD__
#define __RPC_FORWARDER_HEAD__

#include <cstdint>  // for uint64_t
#include <string>

class CRpcCallContext;

class CRpcForwarder final
{
public:
	explicit CRpcForwarder(uint16_t uServerId);

public:
	bool Forward(const CRpcCallContext& ctx,
		const std::string& sService, const std::string& sMethod,
		const std::string& sContent) const;

private:
	uint16_t m_uServerId;
};

#endif  // __RPC_FORWARDER_HEAD__
